package com.lei.order.client;

import com.lei.utils.vo.UcenterMemberOrder;
import org.springframework.beans.BeanUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by IntelliJ
 * Author:熊磊
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //根据用户Id获取用户信息
    @GetMapping("/edu/member/getUserById/{id}")
    public UcenterMemberOrder getUserInfoOrder(@PathVariable("id")String id);
}
